emoji: Try to load emoji data using both language and territory
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 7 May 2021 14:03:37 +0000 (16:03 +0200)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 7 May 2021 14:10:29 +0000 (16:10 +0200)
commit0769dfbd32d00938e3051634dd29997d3ed94691
treeff375c55b7afc94ddf0d1d257f4711725e1737e7
parent17a799aeb2eae064e671891f893cc83a5434a767
emoji: Try to load emoji data using both language and territory

When loading the emoji data we just try to get the data for a language
while there may be territory specializations and emojibase provides
them.

So, split the loading function and try to load the data for the fully
defined language string (i.e. `it-ch`) before loading the generic one
for the language (i.e. `it`) and eventually falling back to the generic
english.
gtk/gtkemojichooser.c